<form action="modules/packages/uploader.php" method="post" enctype="multipart/form-data" name="mutiple_file_upload_form" id="mutiple_file_upload_form">
  <div id="file_container">
    <input name="images[]" type="file"  />
    <br />
  </div>
  <a href="javascript:void(0);" onClick="add_file_field();">Add</a><br />
  <input type="submit" name="Submit" value="Submit" />
</form>
<div>{{msg}}</div>
<script type="text/javascript">
function add_file_field(){
	var container=document.getElementById('file_container');
	var file_field=document.createElement('input');
	file_field.name='images[]';
	file_field.type='file';
	container.appendChild(file_field);
	var br_field=document.createElement('br');
	container.appendChild(br_field);
}
</script>